package internal

import (
	"github.com/name5566/leaf/gate"
	//"reflect"
	"server/mLog"
	"server/msg"
)

type Room struct{
	roomID int32
	roomType msg.RoomType
	roomPlayers map[int32]gate.Agent
}

func   newRoom(roomID int32, rType msg.RoomType) *Room{
	mLog.Println("newRoom",roomID)
	room := Room{roomID:roomID, roomPlayers:make(map[int32]gate.Agent), roomType:rType}

	return  &room
}


